<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<%@ include file="/commons/taglibs.jsp"%>

<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />

		<title>体检套餐</title>
		<%@ include file="/commons/static.jsp"%>
		<link rel="stylesheet" href="${ctx}/dep/zTreeStyle/zTreeStyle.min.css" />
		
	</head>

	<body>
			<div class="wrapper">
				<div class="page-container">
					<!-- 面包屑导航 -->
					<div class="page-breadcrumbs">
						<ul class="breadcrumb">
							<li>
								<i class="fa fa-home"></i>
								<a href="#">首页</a>
							</li>
							<li>
								<i class=""></i>
								<a href="#">业务配置管理</a>
							</li>
							<li class="">
								<a href="#">套餐模板配置</a>
							</li>
							<li class="active">
								体检套餐
							</li>
						</ul>
					</div>
					<!-- /面包屑导航-->
					<div class="page-body">
						<div class="row">
							<div class="col-xs-12 col-md-12">
								<div class="widget">
									<div class="widget-body">
										<div id="profile" class="tab-pane">
										
										<input id="from" value="${from}"  style="display: none"/>
										
											<form id="registrationForm" method="post" class="form-horizontal clearfix" onsubmit="return validateForm()">
											
											<input value="${data.id}" type="text" name="id" style="display: none"/>
											
												<div class="bancgud">
													<div class="form-group">
														<label class="col-lg-2 control-label">体检套餐名称<span class="help-inline"><font color="red">*</font></span></label>
														<div class="col-lg-8">
															<input type="text" name="name" value="${data.name}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="套餐名称不能为空" />
														</div>
													</div>
													
													<div class="form-group">
														<label class="col-lg-2 control-label">体检库</label>
														<div class="col-lg-8">
															<select name="institutionsId" class="form-control" style="width: 200px;display: inline-block;vertical-align: middle;" id="medical">
																<option value="0">请选择</option>
															</select>
														</div>
													</div>
													
													<input id="medicalId" value="${data.institutionsId}" style="display: none;"/>
													<span id="content" style="display: none">${data.serviceRow}</span>

													<div class="form-group">
														<label class="col-lg-2 control-label">体检套餐内容</label>
														<div class=" col-lg-8">
															<ul id="treeDemo" style="height: 300px;border: 1px dashed #d5d5d5;overflow:scroll" class="ztree"></ul>
														</div>

													</div>

													<div class="form-group">
														<label class="col-lg-2 control-label">体检套餐价格<span class="help-inline"><font color="red">*</font></span></label>
														<div class="col-lg-8">
															<input type="text" name="price" value="${data.price}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="套餐价格不能为空" />
														</div>
													</div>

													<div class="form-group">
														<label class="col-lg-2 control-label">体检套餐描述</label>
														<div class="col-lg-8">
															<textarea class="form-control" name="descrpiton" rows="3">${data.descrpiton}</textarea>
														</div>
													</div>
												</div>
												
												<div style="padding-top:25px">
	                                            	<div class="col-xs-6">
														<input type="submit" class=" btn btn-darkorange col-xs-12 col-sm-2 col-sm-offset-10" value="确认">
													</div>
													<div class="col-xs-6">
														<a class=" btn btn-active col-xs-12 col-sm-2 " onclick="window.history.back(-1)">取消</a>
													</div>
												</div>

											</form>
										</div>

									</div>
								</div>
							</div>

						</div>

					</div>

				</div>

			</div>
			<!-- /右侧内容 -->



		<script src="${ctx}/dep/zTreeStyle/jquery.ztree.all.min.js"></script>
		
		<script src="${ctx}/home/institutions/health_package_add.js"></script>

	</body>

</html>